package com.treasure.infrastructure.repository.dao;

import com.treasure.infrastructure.model.doc.SegmentVectorDocBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DocSegmentMapper {

    int batchInsertDoc(@Param("list") List<SegmentVectorDocBean> list);

    List<SegmentVectorDocBean> searchByVector(String vector);
}
